package com.yc.mybatis.students.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 该表用于存储授课教师的相关信息，包括姓名、所在部门及联系方式等
 * </p>
 *
 * @author k
 * @since 2024-12-08
 */
@Getter
@Setter
@TableName("teachers")
public class Teachers implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "teacher_id", type = IdType.AUTO)
    private Integer teacherId;

    @TableField("teacher_name")
    private String teacherName;

    @TableField("teacher_department")
    private String teacherDepartment;

    @TableField("teacher_contact")
    private String teacherContact;
}
